﻿export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        path: '/user',
        routes: [
          {
            name: 'login',
            path: '/user/login',
            component: './user/Login',
          },
        ],
      },
      {
        component: './404',
      },
    ],
  },
  {
    path: '/home',
    name: 'home',
    icon: 'home',
    component: './Home',
  },
  {
    path: 'host-info',
    name: 'HostInfo',
    icon: 'desktop',
    component: './HostInfo',
    hideChildrenInMenu: true,
    routes: [
      {
        path: 'edit',
        name: 'edit',
        component: './HostInfo/FormPage',
      },
    ],
  },
  {
    path: 'lan-scan',
    name: 'LanScan',
    icon: 'wifi',
    component: './LanScan',
  },
  {
    path: '/',
    redirect: '/home',
  },
  {
    component: './404',
  },
];
